package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Menu;
import com.itheima.pojo.User;

import java.util.List;

public interface UserService {
    public User findByUsername(String username);

    PageResult pageQuery(QueryPageBean queryPageBean);

    List<Menu> findMenuByUsername(String username);

    void addUser(User user, List<Integer> checkitemIds);
}
